#ifndef __MAIN_H__
#define __MAIN_H__

extern unsigned char NixieTable[];
extern unsigned char DS1302_Time[];
unsigned char DS1302_ReadByte(unsigned char Command);

void Delay(unsigned int xms);
int key();
void Nixie(unsigned char Location,Number);
void DS1302_Init(void);
void DS1302_WriteByte(unsigned char Command,Data);
void DS1302_SetTime(void);
void DS1302_ReadTime(void);
int decimal_bcd_code(int decimal);
int bcd_decimal_code( int bcd);
void Timer0Init(void);

#endif